package com.ls.blog.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * @program: myblog
 * @author: lishun
 * @create: 2021-07-04 22:51
 **/

@Data
public class Article implements Serializable {

    private Long id;

    private String title;

    private String summary;

    private Integer commentCounts;

    private Integer viewCounts;

    /**
     * 作者id
     */
    private Long authorId;
    /**
     * 内容id
     */
    private Long bodyId;
    /**
     *类别id
     */
    private Long categoryId;

    /**
     * 置顶
     */
    private Integer weight;


    /**
     * 创建时间
     */
    private Long createDate;
}